Would you like to enable your visitors to click on a button to be taken back to the previous page they were on? This JavaScript will enable you to do just that. This JavaScript code is great for use in pop up windows when you're running image slide shows, displaying multiple tips, step by step instructions or whatever you'd like.
Copy and paste this code into your HTML where you would like the button to appear:
<form>
<input type="button" value="Back to Previous Page"